import os
os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"

from huggingface_hub import snapshot_download


if __name__ == "__main__":
    snapshot_download(
        repo_id='twnlp/ChineseErrorCorrector3-4B',
        local_dir='/app/contract/models/ChineseErrorCorrector3-4B'
    )